//
//  OriginData.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//

#import "OriginData.h"

@implementation OriginData

// 首页元素
+ (NSString *)peppersOrigin:(NSString *)name {
    NSDictionary *dict = @{
        @"sulebaa": @"BANNER",
        @"sulebab": @"LARGE_CARD",
        @"sulebac": @"SMALL_CARD",
        @"sulebad": @"REPAY",
        @"sulebae": @"PRODUCT_LIST",
    };
    return dict[name];
}

// 产品详情认证项目列表
+ (NSString *)removeOrigin:(NSString *)name {
    return @{
        @"sulebaf": @"public",
        @"sulebag": @"personal",
        @"sulebah": @"work",
        @"sulebai": @"ext",
        @"sulebaj": @"bank",
    }[name];
}

// 认证项组件
+ (NSString *)cheerfullyOrigin:(NSString *)name {
    return @{
        @"sulebak": @"enum",
        @"sulebal": @"txt",
        @"sulebam": @"citySelect",
    }[name];
}

// scheme路由映射表
+ (NSString *)schemeOrigin:(NSString *)name {
    return @{
        @"nutmegMangro": @"setting", // setting 设置页
        @"avocadoCurry": @"main",
        @"pianoLightho": @"login",
        @"whaleRelishY": @"productDetail",
    }[name];
}
@end
